package org.example.springboot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.springboot.entity.Student;

@Mapper
public interface StudentMapper {
    @Select("select * from tb_student where id = #{id}")
    Student getStudentById(int id);
}
